package com.yh.homestay.service;

import com.yh.homestay.common.HomeStayResult;
import com.yh.homestay.pojo.SysRole;

import java.util.List;

public interface SysRoleService {
    HomeStayResult showRoles(String roleName, Integer page, Integer limit);

    HomeStayResult updateRole(SysRole role);

    HomeStayResult deleteRole(Integer id);

    HomeStayResult showOneRole(Integer id);

    HomeStayResult delectBatchRole(List<Integer> ids);

    HomeStayResult insertRole(SysRole sysRole);

    List<String> getRoleName(Integer staffId);
}
